home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
fido
/
Rock_1_5.lha
/
ROCK
/
nodelist.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-05-11
|
674b
|
32 lines
/*
Rock v1.5 - Fidonet mailer for point systems
Copyright (C) 1995 Jean-Marc Xiume'
This software is distributed under the terms of the
GNU General Public License. Read "license.doc" for more details.
*********** Find the node in nodelist and return needed data ***********
*/
options results
options failat 99
Parse upper arg address nodelist .
r=FindNode(address,"telephone",nodelist)
t=substr(r,3)
Address COMMAND "setenv rock_phone "t
if left(r,2)='0 ' then do
say t
exit 1
end
r=FindNode(address,'password',nodelist)
if left(r,2)='0 ' then p=""
else p=substr(r,3)
Address COMMAND "setenv rock_password "p
exit 0